package com.j283_5.wisdom_park.vo.confcenter_management;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.time.LocalDate;
@AllArgsConstructor
@ToString
@NoArgsConstructor
@Data
public class OrgManageVo {
    private static final long serialVersionUID = 1L;

    /**
     * 组织id
     */
    @TableId(value = "or_id", type = IdType.AUTO)
    private Integer orId;
    private String orName;
    private Integer orType;
    private Integer orNum;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Timestamp orCreatetime;
    private Integer orState;

    public OrgManageVo(String orName, Integer orType, Integer orNum, Timestamp orCreatetime) {
        this.orName = orName;
        this.orType = orType;
        this.orNum = orNum;
        this.orCreatetime = orCreatetime;
    }
}
